package org.test.service.solo;

import org.test.entity.bo.HeadLine;
import org.test.entity.dto.Result;

import java.util.List;

/**
 * Created by Hy on 2021/7/24.
 */
public interface HeadLineService {
    Result<Boolean> add(HeadLine headLine);
    Result<Boolean> del(int headLineId);
    Result<Boolean> update(HeadLine headLine);
    Result<HeadLine> queryById(int headLineId);
    Result<List<HeadLine>> queryHeadLines(HeadLine headLine,int pageNum,int pageSize);
}
